package cn.wolfcode.wolf2w.test;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum  MyDate {
    DATE1("date1",1L),DATE2("date2",2L);

    private String prefix;
    private Long time;

    private MyDate(String prefix,Long time){
        this.prefix = prefix;
        this.time = time;
    }

    public String join(String value){
        System.out.println(value);
        return value;
    }
}
